/**
 * Created by liuzengrong on 2019/8/16.
 */
import request from '@/utils/request';

/**
 * 查询列表
 *
 * @param url
 * @param params
 * @param options
 * @returns {Promise<R>}
 */
export async function commonRequest(url: string, params: any, options: any) {
  options = options || {};
  options.data = params;
  return request(url, options);
}
